import java.util.Scanner;


public class OutputTest {
  public static void main(String[] args) {
    System.out.printf("%,.2f\n", 10000.0 / 3.0);

    // String.format method.
    Scanner in = new Scanner(System.in);

    System.out.print("What's your name? ");
    String name = in.nextLine();

    System.out.print("How old are you? ");
    int age = in.nextInt();

    String message = String.format("Hello, %s. Next year, you'll be %d\n", name, age + 1);
    System.out.print(message);
  }
}
